package cn.stylefeng.guns.modular.recy.entity;

import com.baomidou.mybatisplus.extension.activerecord.*;
import java.io.*;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.*;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("recy_wechat_user")
public class WechatUser extends Model<WechatUser> implements Serializable
{
    private static final long serialVersionUID = 1L;
    public static final String TABLE_ALIAS = "\u5fae\u4fe1\u8d26\u53f7";
    public static final String ALIAS_ID = "\u7f16\u53f7";
    public static final String ALIAS_OPEN_ID = "\u5fae\u4fe1openId";
    public static final String ALIAS_WECHAT_NICK_NAME = "\u6635\u79f0";
    public static final String ALIAS_ACCOUNT_NAME = "\u5fae\u4fe1\u53f7";
    public static final String ALIAS_USER_NO = "\u7528\u6237\u7f16\u53f7";
    public static final String ALIAS_CREATE_TIME = "\u521b\u5efa\u65f6\u95f4";
    public static final String ALIAS_REMARK = "\u5907\u6ce8";
    public static final String ALIAS_PHONE = "\u624b\u673a\u53f7";
    public static final String ALIAS_USER_NAME = "\u59d3\u540d";
    public static final String ALIAS_EMAIL = "\u7535\u5b50\u90ae\u7bb1";
    public static final String ALIAS_SEX = "\u6027\u522b";
    public static final String ALIAS_BIRTH_DAY = "\u51fa\u751f\u65e5\u671f";
    public static final String ALIAS_AGE = "\u5e74\u9f84";
    public static final String ALIAS_USER_ID = "\u63a8\u8350\u4eba";
    public static final String ALIAS_DEVICE_INFO = "\u7528\u6237\u5f53\u524d\u8bbe\u5907\u4fe1\u606f";
    public static final String ALIAS_DEVICE_ID = "\u7528\u6237\u8bbe\u5907\u578b\u53f7";
    public static final String ALIAS_AREA = "所在区域";
    public static final String ALIAS_AREA_CODE = "所在区域编码";
    @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;
    @TableField("open_id")
    private String openId;
    @TableField("wechat_nick_name")
    private String wechatNickName;
    @TableField("account_name")
    private String accountName;
    @TableField("user_no")
    private Long userNo;
    @TableField("create_time")
    private Date createTime;
    @TableField("remark")
    private String remark;
    @TableField("phone")
    private String phone;
    @TableField("user_name")
    private String userName;
    @TableField("email")
    private String email;
    @TableField("sex")
    private Long sex;
    @TableField("birth_day")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    private Date birthDay;
    @TableField("age")
    private Integer age;
    @TableField("user_id")
    private Long userId;
    @TableField("device_info")
    private String deviceInfo;
    @TableField("real_name")
    private String realName;
    @TableField("idcard")
    private String idcard;
    @TableField("status")
    private Long status;
    @TableField("qrcode_img_path")
    private String qrcodeImgPath;
    @TableField("qrcode_url")
    private String qrcodeUrl;
    @TableField("qrcode_create_time")
    private Date qrcodeCreateTime;
    @TableField("qrcode_ticket")
    private String qrcodeTicket;
    @TableField("mp_code")
    private String mpCode;
    @TableField("mini_program_id")
    private String miniProgramId;
    @TableField("avatar_url")
    private String avatarUrl;
    @TableField("withdraw")
    private Double withdraw;
    @TableField("card_no")
    private String cardNo;
    @TableField("area")
    private String area;
    @TableField("area_code")
    private String areaCode;
    @TableField("waste_station_id")
    private String wsId;
    @TableField("zzid")
    private String zzid;
}
